package File;

import java.io.*;

public class Demo14 {
    public static void main(String[] args) {
        try(InputStream inputStream= new FileInputStream("./test.txt")){
           while(true){
               int n=inputStream.read();
               if(n==-1)break;
               System.out.println(n);
           }
        }catch (IOException e){
            throw new RuntimeException();
        }
    }
}
